<?php

$config = array(
	'httpSqsConfig' => array(
		"host"=>"42.62.40.175",
		"port"=>"1218",
		"qsName"=>"report",
		"auth"=>"",
		"charset"=>"utf-8"
	),
	'socket'=>array(
			'host'=>'0.0.0.0',
			'port'=>10008
	),
	'pcntl'=>true, //php多进程
	'maxProcess'=>10,//最大进程数		
	'mail'=>array(
		'from'=>'machao196@163.com',
		'smtp'=>'smtp.163.com',
		'password'=>'machao@163',
		'auth'=>true,		
		'charset'=>"UTF-8",
		'ishtml'=>true,		
	),
	'defaultWorker'=>"Index",
	'defaultAction'=>"Index",
	'accessLog'=>true,
	"accessLogFile"=>"log/access.log",
	"errorLogFile"=>"log/error.log",
	"debugLogFile"=>"log/debug.log",
	"successLogFile"=>"log/success.log",
	'database'=>array(
		'read'=>array(
			'DB_USER'  => 'root',
			'DB_PWD'   => 'machao',
			'DB_HOST'  => '115.29.42.220',
			'DB_PORT'  => '3306',
			'DB_NAME'  => 'pk',
			'CHARSET'  => 'utf8'
		),
		'write'=>array(
			'DB_USER'  => 'root',
			'DB_PWD'   => 'machao',
			'DB_HOST'  => '115.29.42.220',
			'DB_PORT'  => '3306',
			'DB_NAME'  => 'pk',
			'CHARSET'  => 'utf8'
		)        
	),
	'defuatJetton'=>10000,
	'gameUserInfoTemp'=>array(
			'userID'=>0,        //用户id
			'userName'=>'',     //用户名
			'avatar'=>'',       //头像
			'time'=>0,      
			'pk'=>array(),
			'status'=>0,        //
			'jetton'=>0,        // 玩家带进房间的钱
			'costJetton'=>0,    // 本轮消耗的钱
			'allcostJetton'=>0, // 本局游戏消耗的钱 
			'winJetton'=>0,     // 本局该赢的钱
			'seat'=>0,
			'pkVal'=>0		
	),
	'domain'=>"http://t-report.brandwisdom.cn/",
	'redis'=>array(
		'host'=>'127.0.0.1',
		'port'=>''				
	),
);

